package com.etone.smartAudit.dto.task;

import com.etone.smartAudit.enums.TaskType;
import com.etone.smartAudit.vo.FileVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author: 蒋学伟
 * @create: 2020-06-30 11:23:25
 * @Description TemporaryTaskDTO
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "TemporaryTaskDTO", description = "临时资源申请")
public class TemporaryTaskDTO extends BaseTaskDTO implements Serializable {

    @ApiModelProperty("任务内容")
    @NotNull
    private String content;

    @ApiModelProperty("附件")
    private List<FileVO> files;

}
